Skip to content

fix: use roles array in route handle config#1665

Merged
arbrandes merged 1 commit into
openedx:frontend-basefrom
arbrandes:update-role-handlers
Apr 15, 2026
Merged

fix: use roles array in route handle config#1665
arbrandes merged 1 commit into
openedx:frontend-basefrom
arbrandes:update-role-handlers

Conversation

@arbrandes
Copy link
Copy Markdown
Contributor

Description

The latest version of frontend-base expects route handle objects to use roles: [role] instead of the previous role: role format. This updates all five route handle configurations in routes.jsx accordingly, and bumps the package-lock.json to frontend-base alpha.26.

LLM usage notice

Built with assistance from Claude.

frontend-base now expects `roles: [role]` instead of `role: role`
in route handle objects.

Co-Authored-By: Claude <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (frontend-base@b61a6f4). Learn more about missing BASE report.

Additional details and impacted files
@@               Coverage Diff                @@
##             frontend-base    #1665   +/-   ##
================================================
  Coverage                 ?   92.08%           
================================================
  Files                    ?       93           
  Lines                    ?     2046           
  Branches                 ?      588           
================================================
  Hits                     ?     1884           
  Misses                   ?      159           
  Partials                 ?        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@arbrandes arbrandes linked an issue Apr 15, 2026 that may be closed by this pull request
4 tasks
@arbrandes arbrandes merged commit 104975f into openedx:frontend-base Apr 15, 2026
6 checks passed
@arbrandes arbrandes deleted the update-role-handlers branch April 15, 2026 17:27
@openedx-semantic-release-bot
Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0-alpha.11 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Header parity

3 participants